/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.pro.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.pro.entity.ProLog;
import com.thinkgem.jeesite.modules.pro.dao.ProLogDao;

/**
 * 项目日志Service
 * @author fanqinglong
 * @version 2017-06-19
 */
@Service
@Transactional(readOnly = true)
public class ProLogService extends CrudService<ProLogDao, ProLog> {

	public ProLog get(String id) {
		return super.get(id);
	}
	
	public List<ProLog> findList(ProLog proLog) {
		return super.findList(proLog);
	}
	
	public Page<ProLog> findPage(Page<ProLog> page, ProLog proLog) {
		return super.findPage(page, proLog);
	}
	
	@Transactional(isolation = Isolation.DEFAULT,propagation = Propagation.REQUIRED,readOnly = false, rollbackFor = Exception.class)
	public void save(ProLog proLog) {
		super.save(proLog);
	}
	
	@Transactional(isolation = Isolation.DEFAULT,propagation = Propagation.REQUIRED,readOnly = false, rollbackFor = Exception.class)
	public void delete(ProLog proLog) {
		super.delete(proLog);
	}
	
}